package com.example.startup;

import com.example.config.SysMQConfig;
import com.example.listener.handler.SysMQMessageListenerHandler;
import com.example.service.SysServerService;

public interface SysMQStartUpService {

    public void init(SysMQConfig sysMQConfig, SysMQMessageListenerHandler sysMQMessageListenerHandler, SysServerService sysServerService);

    public void start() throws Exception;

    public void stop() throws Exception;

    public void send(String type, String name, String message) throws Exception;
}
